package com.dao;

import com.entity.Roomstatus;
import com.entity.RoomstatusExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository
public interface RoomstatusDao {
    long countByExample(RoomstatusExample example);

    int deleteByExample(RoomstatusExample example);

    int deleteByPrimaryKey(Integer roomstatusid);

    int insert(Roomstatus record);

    int insertSelective(Roomstatus record);

    List<Roomstatus> selectByExample(RoomstatusExample example);

    Roomstatus selectByPrimaryKey(Integer roomstatusid);

    int updateByExampleSelective(@Param("record") Roomstatus record, @Param("example") RoomstatusExample example);

    int updateByExample(@Param("record") Roomstatus record, @Param("example") RoomstatusExample example);

    int updateByPrimaryKeySelective(Roomstatus record);

    int updateByPrimaryKey(Roomstatus record);
}